<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib  uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看详情</title>
<jsp:include page="/WEB-INF/backstage/util.jsp" />
<script type="text/javascript">
$(document).ready(function() {
	$("#btn").click(function() {//绑定
		document.forms[0].action = "/bsc/Bis_opinion/selectBis_opinion";
		 document.forms[0].submit(); 
	});
});

</script>
</head>
<body>
<
<table border="1" class="table-hover table-condensed table-bordered">
<tr>
<td>意见编号</td>
<td>用户编号</td>
<td>内容</td>
<td>创建时间</td>
</tr>
<c:forEach items="${bis_opinion}" var="bis_opinion">
<tr>
<td>${bis_opinion.opinion_id }</td>
<td>${bis_opinion.custom_user_id }</td>
<td>${bis_opinion.content }</td>
<td><fmt:formatDate value="${bis_opinion.create_time }" pattern="yyyy-MM-dd"/> </td>
</tr>
</c:forEach>
</table>
form action="" method="post">
	<div class="form-inline">
	<div class="form-group">
		<label for="opinion_id">手机号:</label> <input type="button"
			class="form-control" id="btn">关闭
		</div>
	</div>
<!-- <input type="button" id="btn" value="关闭"> -->
一共1页,3条,当前在0,每页显示:5,当前页3
	<a href="#" onclick="upPage1()">上一页</a>
	<a href="#" onclick="nextPage1()">下一页</a>
	<a href="#" onclick="firstPage1()">首页</a>
	<a href="#" onclick="lastPage1()">尾页</a>
	<input type="text" size="3" name="page" id="page">
	<button type="button" onclick="tiaozhuan()">跳转</button>
</form>
<script>
//上一页
function upPage1(){
	pageForm.action="/bsc/?page=0";
	pageForm.submit();
}
//下一页
function nextPage1(){
	pageForm.action="/bsc/?page=1";
	pageForm.submit();
}
//首页
function firstPage1(){
	pageForm.action="/bsc/?page=1";
	pageForm.submit();
}
//尾页
function lastPage1(){
	pageForm.action="/bsc/?page=1";
	pageForm.submit();
}
//跳转
function tiaozhuan(){
	var page=$("#page").val();
	if(page>'1'){
		alert("没有这么多页..");
		return;
	}
	pageForm.action="/bsc/";
	pageForm.submit();
}
</script>
</body>
</html>